<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 函数是可以互相调用的。

        function skill1() {
            console.log('控制敌人');
            return '被眩晕的吕布';
        }

        function skill2() {
            let hero = skill1();
            console.log('击杀' + hero);
        }

        // skill1();
        skill2();
    </script>
</body>
</html>